package cn.edu.cqvie.cloud.conf;

import lombok.Data;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.endpoint.event.RefreshEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 获取配置
 *
 * @author ZHENG SHAOHONG
 */
@Data
@Component
@ConfigurationProperties(prefix = "st")
public class CloudConf {

    private String host;

}
